package cjh.com.myiocannotation.annotation;

/*
 * author: caojunhao
 * date  : 2020/11/25
 * desc  : setContentView()注解
 */


import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.TYPE) //将注解写到类上面
@Retention(RetentionPolicy.RUNTIME) //程序运行时执行
public @interface ContentView {
    int value() default -1;
}
